package com.aaa.entity;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;
@TableName(value = "sys_role")
@Data
//@ApiModel(value = "SysRole)", description = "角色信息表")
public class Role implements Serializable {
 private static final long serialVersionUID = 383858028547640288L;
 /**
 * 角色ID
 */
@TableId(value = "role_id", type = IdType.AUTO)
private Long roleId;

//@ApiModelProperty(value = "角色名称")
private String roleName;

//@ApiModelProperty(value = "角色权限编码")
private String roleCode;

//@ApiModelProperty(value = "显示顺序")
private Integer roleSort;

//@ApiModelProperty(value = "备注")
private String remark;

//@ApiModelProperty(value = "角色状态（0正常 1停用）")
private String status;

@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//@ApiModelProperty(value = "创建时间")
private Date createTime;

 @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
//@ApiModelProperty(value = "更新时间")
private Date updateTime;

//@ApiModelProperty(value = "创建者")
private String createBy;

//@ApiModelProperty(value = "更新者")
private String updateBy;

//@ApiModelProperty(value = "删除标志（0代表存在 2代表删除）")
private String delFlag;
}
